package com.heima.user;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.dto.AuthDTO;
import com.heima.user.service.UserService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class test02 {
    @Autowired
    private UserService userService;

    @Test
    public void getTest02(){
        AuthDTO authDTO = new AuthDTO();
        authDTO.setId(5);
        authDTO.setMassage("你真棒");


        ResponseResult responseResult = userService.updateStatusById(authDTO, (short) 9);
    }



}
